<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
<%@ page import="com.chlitina.store.common.beanvalidator.BeanValidators"%>
<%@ page import="org.slf4j.Logger,org.slf4j.LoggerFactory" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%response.setStatus(200);%>
<%
	Throwable ex = null;
	if (exception != null)
		ex = exception;
	if (request.getAttribute("javax.servlet.error.exception") != null)
		ex = (Throwable) request.getAttribute("javax.servlet.error.exception");
	//记录日志
	Logger logger = LoggerFactory.getLogger("500.jsp");
	logger.error(ex.getMessage(), ex);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>系统升级</title>
	<%@include file="/WEB-INF/views/include/head.jsp" %>
	<style type="text/css">
		.ui-overlay-a,
		.ui-page-theme-a,
		.ui-page-theme-a .ui-panel-wrapper {
			background: #ffffff /*{a-page-background-color}*/;
			border-color: #ffffff /*{a-page-border}*/;
			color: #333333 /*{a-page-color}*/;
			text-shadow: 0 /*{a-page-shadow-x}*/ 1px /*{a-page-shadow-y}*/ 0 /*{a-page-shadow-radius}*/ #f3f3f3 /*{a-page-shadow-color}*/;
		}
	</style>
</head>
<body>
	<div style="background-image:url(/store/static/images/error/404.gif); width: 500px; height: 500px;margin-left: auto;margin-right: auto;" >
		<div style="text-align: center; padding-top: 330px;">
			<strong>亲，您的网络不给力哦~~</strong><br/>
			<a data-role="button" data-inline="true" href="javascript:" onclick="history.go(-1);">返回上一页</a>
		</div>
		<!-- <p>错误信息：</p><p>
		<%
			if (ex!=null){
				if (ex instanceof javax.validation.ConstraintViolationException){
					for (String s : BeanValidators.extractPropertyAndMessageAsList((javax.validation.ConstraintViolationException)ex, ": ")){
						out.print(s+"<br/>");
					}
				}else{
					out.print(ex+"<br/>");
				}
			}
		%>
		</p> -->
		<script>try{top.$.jBox.closeTip();}catch(e){}</script>
	</div>
</body>
</html>